#######################
#
#  Licensed to the Apache Software Foundation (ASF) under one or more contributor license
#  agreements.  See the NOTICE file distributed with this work for additional information regarding
#  copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0
#  (the "License"); you may not use this file except in compliance with the License.  You may obtain
#  a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software distributed under the License
#  is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
#  or implied. See the License for the specific language governing permissions and limitations under
#  the License.
#
#######################

# See cmake/ExperimentalPlugins.cmake for the auto_options.

if(BUILD_ACCESS_CONTROL)
  add_subdirectory(access_control)
endif()
if(BUILD_BLOCK_ERRORS)
  add_subdirectory(block_errors)
endif()
if(BUILD_CACHE_FILL)
  add_subdirectory(cache_fill)
endif()
if(BUILD_CERT_REPORTING_TOOL)
  add_subdirectory(cert_reporting_tool)
endif()
if(BUILD_COOKIE_REMAP)
  add_subdirectory(cookie_remap)
endif()
if(BUILD_CUSTOM_REDIRECT)
  add_subdirectory(custom_redirect)
endif()
if(BUILD_FQ_PACING)
  add_subdirectory(fq_pacing)
endif()
if(BUILD_GEOIP_ACL)
  add_subdirectory(geoip_acl)
endif()
if(BUILD_HEADER_FREQ)
  add_subdirectory(header_freq)
endif()
if(BUILD_HOOK_TRACE)
  add_subdirectory(hook-trace)
endif()
if(BUILD_HOOK_STATS)
  add_subdirectory(hook_stats)
endif()
if(BUILD_HTTP_STATS)
  add_subdirectory(http_stats)
endif()
if(BUILD_ICAP)
  add_subdirectory(icap)
endif()
if(BUILD_INLINER)
  add_subdirectory(inliner)
endif()
if(BUILD_JA4_FINGERPRINT)
  add_subdirectory(ja4_fingerprint)
endif()
if(BUILD_MAGICK)
  add_subdirectory(magick)
endif()
if(BUILD_MAXMIND_ACL)
  add_subdirectory(maxmind_acl)
endif()
if(BUILD_MEMCACHE)
  add_subdirectory(memcache)
endif()
if(BUILD_MEMORY_PROFILE)
  add_subdirectory(memory_profile)
endif()
if(BUILD_MONEY_TRACE)
  add_subdirectory(money_trace)
endif()
if(BUILD_MP4)
  add_subdirectory(mp4)
endif()
if(BUILD_OTEL_TRACER)
  add_subdirectory(otel_tracer)
endif()
if(BUILD_RATE_LIMIT)
  add_subdirectory(rate_limit)
endif()
if(BUILD_REDO_CACHE_LOOKUP)
  add_subdirectory(redo_cache_lookup)
endif()
if(BUILD_SSLHEADERS)
  add_subdirectory(sslheaders)
endif()
if(BUILD_STALE_RESPONSE)
  add_subdirectory(stale_response)
endif()
if(BUILD_STEK_SHARE)
  add_subdirectory(stek_share)
endif()
if(BUILD_STREAM_EDITOR)
  add_subdirectory(stream_editor)
endif()
if(BUILD_SYSTEM_STATS)
  add_subdirectory(system_stats)
endif()
if(BUILD_TLS_BRIDGE)
  add_subdirectory(tls_bridge)
endif()
if(BUILD_TXN_BOX)
  add_subdirectory(txn_box)
endif()
if(BUILD_URI_SIGNING)
  add_subdirectory(uri_signing)
endif()
if(BUILD_URL_SIG)
  add_subdirectory(url_sig)
endif()
if(BUILD_WASM_WAMR
   OR BUILD_WASM_WASMTIME
   OR BUILD_WASM_WASMEDGE
)
  add_subdirectory(wasm)
endif()
